package cn.edu.cqu.bysj.services;

import java.util.List;

import cn.edu.cqu.bysj.domains.StopStationInfo;

public interface StopStationInfoCRUD {
	public void add(StopStationInfo stopStationInfo);
	
	public List<StopStationInfo> getByName(String name);
	public StopStationInfo getStopStationInfo(String trainNo, String stationName);
	public StopStationInfo getByNo(int stopStationInfoNo);
	public List<StopStationInfo> getAll();
	public List<StopStationInfo> getByTrainNo(String trainNo);
	
	public void edit(int stopStationInfoNo,StopStationInfo stopStationInfo);
	
	public void deleteByName(String name);
	public void deleteByNo(int stopStationInfoNo);
	public void deleteAll();

	

}
